<?php
// +----------------------------------------------------------------------
// | ZanPianCMS [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.zanpian.com All rights reserved.
// +----------------------------------------------------------------------
// | BBS:  <http://www.feifeicms.cc>
// +----------------------------------------------------------------------
namespace app\common\validate;
class Music extends Base{
 protected $rule = [
        ['music_vid', 'require|number', '视频ID不能为空|视频ID必须为数字'],
		['music_name', 'require|unique:music,music_vid^music_name', '歌曲名为空|存在相同歌曲！'],
		['music_url', 'require|url', '歌曲连接不能为空|歌曲连接必须为网址'],
    ];
}